package com.atguigu.ioc;

public class HappyMachine {

    public HappyMachine() {
        System.out.println("***HappyMachine 构造器执行了***");
    }

    private String machineName;
    
    public String getMachineName() {
        return machineName;
    }
    
    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public void machineInit() {
        System.out.println("***HappyMachine 初始化方法执行了***");
    }

    public void machineDestroy() {
        System.out.println("***HappyMachine 销毁方法执行了***");
    }
}